From a42a45b45e2b4e1e39f31a372f81648ff3bd445b Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 23 Dec 2004 19:34:14 +0000 Subject: [PATCH] Comments can now be 46 characters in 5.x firmware. --- gpsbabel/magproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/magproto.c b/gpsbabel/magproto.c index 5ca77160d..775bacd7e 100644 --- a/gpsbabel/magproto.c +++ b/gpsbabel/magproto.c @@ -1193,7 +1193,7 @@ mag_waypt_pr(const waypoint *waypointp) odesc = mag_cleanse(odesc); } - sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.30s,%s", + sprintf(obuf, "PMGNWPL,%4.3f,%c,%09.3f,%c,%07.lf,M,%-.8s,%-.46s,%s", lat, ilat < 0 ? 'S' : 'N', lon, ilon < 0 ? 'W' : 'E', waypointp->altitude == unknown_alt ? -- 2.30.2